package com.spring.ext;

import com.spring.bean.Red;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Description:
 *
 * @author lijie
 * @create 2019-01-20 11:16
 * Update by lijie 2019-01-20 11:16
 */
@Configuration
@ComponentScan({"com.spring.ext"})
public class ExtConfig {

    @Bean
    public Red red(){
        return new Red();
    }

}
